package com.ganbo.ms.netty.simple.server;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @author ganbo
 * @date 2022/12/7 20:47
 */
public class CCInHandler extends SimpleChannelInboundHandler<String> {

//    @Override
//    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
//        System.out.println("C============>" + msg);
//        super.channelRead(ctx, msg);
//    }

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
        System.out.println("CC=============>" + msg);
    }
}
